home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
SCIENTIF
/
H558.ZIP
/
NP940107.ZIP
/
NP.DOC
< prev
next >
Wrap
Text File
|
1993-12-02
|
44KB
|
2,909 lines
NewPet for DOS
NewPet (c) 1987-1993 Memorial University of Newfoundland
Department of Earth Sciences
Centre for Earth Resources Research
All rights reserved.
This program has been tested extensively, but we cannot
guarantee that it will work on all computer systems or that any
results will be completely accurate at all times. We will not
be held liable for any alleged damage or problems encountered
while using this software.
NewPet is Shareware. You may distribute as many copies of this
package as you wish as long as it is not modified in any way and
is distributed intact. You cannot charge for copies of the
program itself, only the disks.
If you like it, let me know. A voluntary registration of $25
(no GST or PST) would be greatly appreciated and would help to
expedite further enhancements. Make cheques or money orders
payable to Memorial University of Newfoundland, Department of
Earth Sciences and send it to my attention. We can also handle
credit cards (Visa or Master Card) and purchase orders. Please
let me know what size disk that you prefer (3.5" or 5.25".)
If you have bugs, problems, suggestions, or are registering,
please contact me:
Daryl Clarke
Memorial University of Newfoundland
Department of Earth Sciences
Centre for Earth Resources Research
St. John's, NF, Canada A1B 3X5
(709) 737 8346 telephone
(709) 737 8142
(709) 737 2589 fax
daryl@sparky2.esd.mun.ca email
daryl@garfield.cs.mun.ca
sparky2.esd.mun.ca anonymous FTP location
(134.153.11.101) (/pub directory)
NewPet (or NewfPet as some would have it) has origins in 'Igpet'
by M.J.Carr and 'GPP' by D.J.Geist, B.H.Baker and A.R.McBirney.
NewMix module was originally written by Flemming Mengel.
NewMelt module has its origins in PMELT by R.A.Coish.
NewCIPW module came from Univ. of Tasmania.
NewMeso module came from MSONRM by M.H.F.Kosinowski.
I also have scavenged things from various forgotten sources.
"Lotus File Formats for 1-2-3, Symphony, & Jazz" by Addison
Wesley came in handy for the Lotus 1-2-3 file formats.
Thanks to Ethan Winer and crew at Crescent Software for creating
QuickPak Professional (this is an endorsement).
Thanks to Larry Jensen at OGS for pointing out the problem with
his discrim plot.
Microsoftr BASIC Professional Development System Version 7.10
c Copyright Microsoft Corporation 1982-1990.
MSHERC.COM c Microsoft Corporation 1991.
QuickPak Professional c Copyright Crescent Software 1988-1991.
Lotus 1-2-3 and FreeLance Graphics are registered trademarks of
Lotus Development Corporation.
Any mention of a trade name does not mean that we are making an
endorsement of that product.
Thanks to anyone who has helped by making constructive
suggestions and to those who have helped this package through
registration.
Installation
Insert the NewPet disk into drive A:(B:).
Change to the drive A:(B:)
Type INSTALL d:\path. (d:\path is where you want NewPet
installed)
Example: a:\> install c:\newpet
This will extract the NewPet files from the archive file. Any
updated files will automatically overwrite the older files.
Initialization
The following lines have to be in your AUTOEXEC.BAT file:
for CGA: GRAFTABL
GRAPHICS (you need this if NewPet's internal screen dump doesn't work)
for HGC: MSHERC
MONOPRT (you might not need this)
for VGA: GRAPHICS (this will work if you have DOS 5.0)
GRAPHICS laserjetii (if you have a laserjet)
Start up
At the DOS prompt, type newpet -?
This will list the start up flags for NewPet.
If you get an error when trying to display graphics, it may be
that the program has not detected your graphics card properly.
This happens a lot with monochrome VGA monitors.
Usage: newpet
[-b][-vm][-vga][-em][-ega][-cga][-oli][-black][-43][-50][-?]
-mon force black & white mode
-vm force VGA monochrome mode
-vga force VGA mode
-em force EGA monochrome mode
-ega force EGA mode
-cga force CGA mode
-oli force Olivetti/AT&T mode
-black force black plot background
-43 force 43 line text mode (EGA & VGA)
-50 force 50 line text mode (VGA)
-? this message
Some options can be mixed. For example:
newpet -ega -43 -black (sets EGA with 43 lines and black
background for plots)
newpet -em -43 (sets mono EGA with 43 lines of text)
newpet -vga -50 -black (sets VGA with50 lines and black
background)
newpet -vm 50 (sets mono VGA with 50 lines of text)
General Instructions
NewPet is a menu driven geochemical data handling and plotting
package. In other words, all commands are listed in the various
menus. Except for the NewFiler module data editor (F1 is the
help key). Please see the appendix for the command keys.
You can use the cursor keypad (arrows, Home, End, etc.) or by
pressing the letter key that corresponds to the first letter of
any menu item to move around.
Pressing Space or Enter will select the current highlighted
selection. This also selects the default option (the one in [
]) when you are asked to press a key.
Pressing Esc will exit the menu. This will also work on most
spots that ask for input.
Pressing F1 is the same as selecting Help on menus that have a
Help option.
Using a mouse:
Clicking the left button once on a menu item will move the bar
to that item. Clicking the left button twice on an item is the
same as pressing the Enter key.
If the menu is too long for the screen, arrows will appear on
the right hand side of the menu box. Clicking the left mouse
button with the cursor on the right margin of the menu will move
the selection bar.
Clicking the right mouse button is the same as pressing the Esc
key in menus.
NewPet will run in MS Windows. An icon is included.
You can load about 400 samples. But do not try to choose
samples to plot by individual name or use the NewPrim module.
NewPet sometimes has problems when a virus checker is loaded.
The Main Menu
When you start NewPet, you get the mandatory notice screen, you
then get the main menu:
NewPet Program Menu
1 NewFiler data file editing, table printing
2 NewPrim normalized REE plots (Spider plots)
3 NewDisc discrimination, ternary and X-Y plots
4 NewCIPW CIPW normative plots and listings
5 NewMeso mesonormative plots and listings
6 NewMix uses Langmuir eqn. for mixing isotopes, etc.
7 NewMelt partial melting and fractional crystallization
8 New123 convert between Lotus 1-2-3 and NewPet files
9 NPCV CIPW and generic X - Y and ternary plots
Help
View documentation file and output files
DOS Shell
Set System Configuration
Quit to DOS
This is your access to all of the NewPet program modules. As
you can see, things are fairly obvious. Just move the bar to the
module that you wish to use and press Enter.
Help gives you a bit of info on the menu system.
View Documentation File and Output Files allows you to look at
the ASCII documentation and the ASCII output of the various
NewPet modules.
DOS Shell allows you to pop out into DOS. Type 'exit' to get
back into NewPet.
Set System Configuration allows you to set the various options
for recalculation, etc.
Quit to DOS exits the program.
Setting Default Configuration
The first time the you run NewPet and any time that you choose
the 'Set System Configuration' option, you will see a menu like
this:
Set System Defaults
default directory
anhydrous recalculation option
iron recalculation option
printer port
43 line text screen (EGA/VGA)
50 line text screen (VGA)
normal text screen
Reset: discard changes
Save changes and exit
Exit
Current Configuration
Printer port: LPT1:
Data directory: C:\NEWPET\
Anhydrous recalculation: N
Iron recalculation: 0
Default Directory is the directory that NewPet will go to first
when looking for files.
Anhydrous Recalculation Option lets you recalculate your data
sans LOI or not.
Iron Recalculation Option lets you choose how you see your iron.
Printer Port lets you set the printer port.
43 Line Text Screen you can set the number of text lines to 43
instead of the usual 25 if you have an EGA or VGA monitor .
This helps with the longer menus.
50 Line Text Screen ditto except works only on VGA monitors.
Normal Text Screen sets the text screens back to 25 lines of
text.
Reset: Discard Changes will read in the configuration file again.
Save changes and Exit will make the settings permanent.
Exiting the menu without saving the settings will keep them
until you exit NewPet.
Creating a New File
You have four ways of making up data files for NewPet:
1) Choose the 'Enter data for new file' option in the NewFiler
module.
2) Use Lotus 1-2-3 or some spreadsheet program that saves its
files in a Lotus .WK1 format.
3) Use an editor or program to produce an ASCII file (DOS text
for you WordPerfect users.) The file extension should be .PRN.
4) Read delimited ASCII files into a spreadsheet, and then
convert from a .WK1 file to a NewPet .ROC data file.
If you choose 2, 3, or 4, you then use the New123 module to
convert these files into NewPet data files.
Method 1: Data entry via the NewFiler module
Choose the NewFiler program module from the main menu screen.
Choose the Enter data for new file option.
You will then see a screen as follows:
Sample Name:
Location Part A:
Location Part B:
Rock Type:
Symbol: 0
Colour: 0
Using the arrow keys will move the cursor between fields.
<ESC> will cancel.
If you accept the header, you will then be in the sample editor.
Press F1 to see the help screen in the editor.
The sample editor is a basic spreadsheet clone. It allows you to
edit your sample data in a fairly easy fashion.
Command List for the Data Sample Editor
move up one sample (up arrow)
move up 20 samples Page Up
move down one sample (down arrow)
move down 20 samples Page Down
move right one column (right arrow)
move right 5 columns Ctrl (right arrow)
move left one column (left arrow)
move left 5 columns Ctrl (left arrow)
move to first sample Ctrl Home
move to last sample Ctrl End
move to first column in current sample Home
move to last column in current sample End
unmark all samples Alt U
mark all samples Alt M
delete marked samples D
copy marked samples to a file C
append a sample to end of file A
insert sample before current sample I
hide current column Alt H
unhide column Alt I
clear number in buffer Esc
mark/unmark current sample Ins
edit header of current sample H
calculate ppm Ti and K from wt% P
set number of decimal places for current column N
shell to DOS Alt D
help F1
exit to main menu Q
ASCII .PRN to NewPet .ROC file conversion
This option lets you convert from an ASCII (text) file to a
NewPet .ROC file. The better and easier conversion is to convert
a Lotus .WK1 file to a NewPet .ROC file directly, and vice
versa.
The input file can be any text (ASCII) file with the .PRN
extension, it does not have to have been created by Lotus 1-2-3.
This is the format:
Maximum width of file is 79 characters.
Use the word 'sample' somehow in the leftmost column of the
header.
The first column has to be the sample names.
The elements can be in any order.
The element names have to be spelled exactly as in NP-ROC.DOC.
Try to have all labels centered or right justified. (/GLR)
There can be no blanks in the data.
Fill blanks in with anything (e.g. '-').
There can be no spaces in the sample names. Use '-' or '_'.
EXAMPLE:
SampleName Li Be Th ... U
Sam-1 24 13 0 ... 0
Sam-2 26 30 5 ... 23
. . . . .
. . . . .
. . . . .
Sam-N 33 23 6 ... 22
Creating a .PRN File in Lotus 1-2-3
Use the /Print command.
Choose 'File'.
Enter file name.
Select the following options:
Header: none
Footer: none
Margins: Left 0
Right 79
Top 0
Bottom 0
Borders: Columns choose the column that contains your sample
names
Rows choose the row that contains your element names
Pg-Length: 66 is fine, as long as it is not more than 100
Range: all of the data except the sample names and header line
Then 'Go' and 'Quit'.
Lotus 1-2-3 '.WK1' to NewPet '.ROC' File Conversion
Choose the 'WK1 --> ROC' option in the New123 module.
For the New123 module to read a 1-2-3 file properly, the format
must be as follows:
A B C D
1 Sample Elem1 Elem2 Elem3...
2 sam-1 . . .
3 sam-2 . . .
4 . . . .
Sample names can be numeric or label.
Other columns that can be included:
Rock Type, RockType, Type - label up to 20 chars
Symbol, Plot Symbol - integer 1 to 15
Colour, Color, Plot Colour, Plot Color - integer 1 to 15
Northing, Location, Locality, Locality 1 - label up to 20 chars
Easting, Locality 2 - label up to 20 chars
Mg No, Mg Number, Mg #, MgNo, Mg# - numeric
Any column that doesn't have a recognized heading will be
ignored.
Please use Range Erase and not spaces for erasing. New123 can
get screwed up if you don't.
*** ONLY ONE COLUMN CAN HAVE 'SAMPLE' ANYWHERE AT THE TOP ***
Please read NP-ROC.DOC for Element names.
Lotus 1-2-3 loves to add lots of extra digits on to the
end of the
numbers. You can ignore these. They are rounded
properly if you
convert back to '.ROC' files.
NewPet '.ROC' to Lotus 1-2-3 '.WK1' File Conversion
___________________________________________________
Choose the 'ROC --> WK1' option in the New123 module.
NewFiler: Merging Data Files
_________________________________________________________________
______________
The output file cannot be the same as either of the two
input files.
This is a no-no, as you cannot read from and write to a file
at the same time.
Graphics Output
All plots can be saved in two formats:
1) .PIC file:
This file can be printed later by using Lotus Printgraph, Lotus
Freelance Plus, Lotus GraphWriter, Lotus Manuscript, WordPerfect
5.0, Drafix CAD Ultra, AutoCAD, paint programs, etc. They will
print out on almost any printer or plotter and are a very good
quality.
2) dumped to printer right away:
NewPet has a built-in screen dump utility. If you have an HP
compatible laserjet, you have the choice of three plot sizes.
With an Epson compatible printer, you only have the one size of
print. Unfortunately, it does not work on some systems. If this
is the case, you will have to use a TSR screen dump utility. Two
are provided. Load the appropriate one before running NewPet.
(See installation.)
When you want to dump a graphics screen, press Shift+PrintScreen
buttons.
With the HGC (monochrome graphics) you then press 0.
Unfortunately, these plots are usually low quality.
The GRAPHICS.COM program provided with DOS 5.0 can dump VGA
screens to a laserjet or dot matrix printer. Please read your
DOS manual for the proper settings.
There are utilities available to dump screens from any graphics
card to any printer (e.g. RainDrop by RainBow).
Graph Plot Symbols
No Symbol Colour**
1 Circle - Open Blue
2 Circle - Half-filled Green
3 Circle - Filled Cyan
4 Box - Open Red
5 Box - Half-filled Magenta
6 Box - Filled Brown
7 Triangle - Open Up White
8 Triangle - Filled Up Grey
9 Triangle - Open Down Light Blue
10 Triangle - Filled Down Light Green
11 Asterisk * Light Cyan
12 X Light Red
13 Cross + Light Magenta
14 Diamond - Open Yellow
15 Diamond - Filled Bright White
** colours only available on EGA, VGA, MCGA and 8514/A colour
monitors.
There also seems to be a bit of a bug when bringing .PIC files
into Lotus FreeLance. The lighter colours, especially Light
Cyan, do not appear on LaserJet output. If you do a Print
Preview on a non EGA/VGA monitor you will not see this effect.
Try to choose Blue for symbol colour if not using a colour
monitor and using FreeLance.
Normalized Elemental Plots
NewPrim is the program module used for extended REE's (spider)
plots.
There are 3 sets of norms that are included (see below).
You can also use your own normalization factors by using the
customized plot options.
You can only load about 200 samples into a REE plot.
REE's Plot Module
Normalized Plot Display
REE's Plot Display
Extended Plot Display
Customized Plot Display
Design/Get your own normalized plot
Pick Samples to Display
Change Plot Symbols
Legend of Plot Symbols
Get a Data File
Set BLACK plot background
DOS Shell
Set System Configuration
Quit to Main Program Menu
Normalization Factors
The first two sets of norm values are from George Jenner. If
you want to know where he came up with them please feel free to
ask him. I do, but he just keeps forgetting to get back to
me. He can be reached via the address at the beginning of the
manual. His email address is gjenner@sparky2.esd.mun.ca.
Please let me know if you get a response. 8-)
Normalized Plots
Primitive
Mantle MORB
Cs .007 .013
Rb .555 1.12
Ba 6.27 14.3
Th .088 .185
U .022 .075
K 267 955
Nb .65 3.58
La .63 3.96
Ce 1.59 11.97
Sr 18.9 122
Nd 1.21 10.96
Hf .28 2.87
Zr 9.8 90
Sm .399 3.62
Eu .15 1.31
Ti 1134 9000
Gd .533 4.78
Dy .661 5.98
Y 3.9 34.2
Er .432 3.99
Yb .442 3.73
Lu .066 .56
Rare Earth Elemental Plots
Primitive
Mantle SUN
La .63 .329
Ce 1.59 .865
Pr .251 .13
Nd 1.21 .63
Sm .399 .203
Eu .15 .077
Gd .533 .276
Tb .0974 .0498
Dy .661 .343
Ho .148 .077
Er .432 .225
Tm .0676 .0352
Yb .442 .22
Lu .066 .0339
Extended Elemental Plots
Both of these sets of norm values are from Taylor and McLennan
1985.
Taylor Primitive
Chondrite Mantle
Li 2.4 .83
K 854 180
Rb 3.45 .55
Cs .279 .018
Tl .215 .006
Pb 3.65 .120
Ba 3.41 5.1
Th .0425 .064
U .0122 .018
Nb .375 .56
La .367 .551
Ce .957 1.436
Sr 11.9 17.8
Pr .137 .206
Nd .711 1.607
Zr 5.54 8.3
Sm .231 .347
Eu .087 .131
Gd .306 .459
Tb .058 .087
Ti 654 960
Dy .381 .572
Y 2.25 3.4
Ho .0851 .128
Er .249 .374
Tm .0356 .054
Yb .248 .372
Lu .0381 .057
Sc 8.64 13
V 85 128
Zn 462 50
Cu 168 28
Ni 16500 2000
Cr 3975 3000
NewCIPW: CIPW Listing
A .CPW file contains the norms for a .ROC file. Please see
IGNEOUS.CPW as an example.
The following is the format of a .CPW file:
LINE (BOF)
1 nSam%, nElems%
2 "Sample","RockType","Symbol","Colour","Q","C",...
3 "Samplename1","RockType1","Symbol1","Colour1",###.##,###.##,..
.
4 "Samplename2","RockType2","Symbol2","Colour2",###.##,###.##,..
.
. .
. .
nSam+2 .
(EOF)
nSam is an integer denoting the number of samples in the file
nElems is an integer denoting the number of elements in a row
Q Quartz SiO2
C Corundum Al2O3
Z Zircon ZrSiO4
Or Orthoclase (K,Na)AlSi3O8
Ab Albite (K,Na)AlSi3O8
An Anorthite (Na,K)AlSi2O8
Lc Leucite KAl(SiO3)2
Ne Nepheline (Na,K)(Al,Si)2O4
Kp Kaliophilite AlSi04
Hl Halite NaCl
Th Thenardite Na2SO4
Nc Na Carbonate Na2CO3
Ac Acmite NaFe(SiO2)3
Ns Na Metasilicate Na2SiO3
Ks K Metasilicate K2SiO3
Di Diopside Ca(Mg,Fe)(SiO2)3
Wo Wollastonite CaSiO3
Hy Hypersthene (Mg,Fe)SiO3
Ol Olivine (Mg,Fe)2SiO4
Cs DiCaSilicate Ca2SiO4
Mt Magnetite FeIIFeIII2O4
Cm Chromite Cr2O4
Hm Hematite Fe2O3
Il Ilmenite FeTiO3
Tn Sphene CaTiSiO5
Pf Perovskovite CaTiO3
Ru Rutile TiO2
Ap Apatite Ca5(PO4)3F
Hydraphane SiO2(H2O)x
Fl Fluorite CaF2
Pr Pyrite FeS2
Cc Calcite CaCO3
Magnesite MgCO3
Siderite FeCO3
Spodumene LiAl(SiO3)2
H20+ H2O+
H2O- H2O-
Others
Si Def
Total
Generic Plotting using NPCV
Basically, this is a module that will read in a comma delimited
file and plot it using the same format as the NewPlot plots in
the NewDisc module.
The format of a file that is read in to the generic plot is the
same format as the CPW file. See the IGNEOUS.CPW file as an
example.
The following is the format of a .CPW file:
LINE (BOF)
1 nSam%, nElems%
2 "Sample","RockType","Symbol","Colour","El1","El2",...
3 "Samplename1","RockType1","Symbol1","Colour1",###.##,###.##,..
.
4 "Samplename2","RockType2","Symbol2","Colour2",###.##,###.##,..
.
. .
. .
nSam+2 .
(EOF)
nSam is an integer denoting the number of samples in the file
nElems is an integer denoting the number of elements in a row
"Sample" can also be "Sample Name" or "SampleName"
up to 20 characters are used for this field, the rest will be
truncated.
"RockType" can also be "RockType", "Type" or "Description"
up to 20 characters are used for this field, the rest will be
truncated.
"Colour" can also be "Plot Colour", "Color", or "Plot Color"
this is an integer from 1 to 15 denoting plot colour for
display.
"Symbol" can also be "Plot Symbol"
this is an integer from 1 to 15 denoting plot symbol for
display.
All other fields are expected to be numeric. If not, crash!
These recalculations do not affect the data in the data file.
They are only done on the data in memory.
Data recalculation is done in the following order:
1) Iron is recalculated. Depending on the option selected.
FeO* = FeO + Fe2O3 * 0.89981 (total iron as FeO)
Fe2O3* = Fe2O3 + FeO * 1.11135 (total iron as Fe2O3)
FeO Calc = FeO / (FeO + Fe2O3)
2) If the anhydrous recalculation flag is set to "Y", the
samples are recalculated anhydrously. The program checks to see
if the total of the majors is between 99.98% and 100.02%. (SiO2
to P2O5) If the total lies in this range, the sample is
considered to be anhydrous and will not be recalculated.
Anhydrous Recalc Factor = 100 / (q majors - (LOI+H2O+CO2))
All elements except the Radiogenics are then multiplied by this
factor.
3) The Mg number is then calculated.
Mg# = 100 * (MgO / MgOMW) / ((FeO* / FeOMW) + (MgO / MgOMW))
4) The Solidification Index is calculated next.
SI = 100 * (MgO / (Fe2O3 + FeO + MgO + Na2O + K2O))
Appendices
A Files Used
B Update History
C Discrimination Plot Abbreviations
D Literature References
E Data File Format
NEWPET EXE Main Program for NewPet
NEWFILER EXE file handling, conversion, printing
NEWDISC EXE discrimination, frequency and do it yourself plots
NEWCIPW EXE normative calcs and plots
BRT71EFR EXE run time library module
NP-SYM BIN symbol data file, used in all plot routines
* DAT data for various modules
NP DOC this file
NP-REF DOC references for NewPet
NP-ROC DOC element listing used in NewPet
NewPet.hlp Windows help file
NP-MAN.SAM AmiPro formatted manual
NEWPET CNF configuration file
NEWPET ICO MS Windows 3.x icon
* FON graphics font files
NP BAT runs MSHERC.COM then runs NEWPET.EXE
IGNEOUS * sample data files
MSHERC COM Hercules (mono) compatability module
MONOPRT COM print screen utility for Hercules
GRAPHICS COM print screen utility for CGA (DOS 5.0 does EGA and
VGA)
GRAFTABL COM graphics characters for CGA
.ROC rock data files
.KD NewMelt module Bulk Kd coeff data file
.KDI NewMelt module parameter file
.NRM norm data files for NewPrim module
.SET data mask files used in NewFiler module
.TAB data table produced in NewFiler module
.CPW CIPW norm file from NewCIPW module
.CIP CIPW listing from NewCIPW module (1 page per sample)
.OUT output file from NewMelt module
.WK1 Lotus 1-2-3 spreadsheet file v.2
.PRN ASCII file from Lotus 1-2-3
.PIC graph file in Lotus 1-2-3 format
92.10.31 Fixed bugs in NewMix
Increased legend in NewPrim
Did some internal stuff (format of NewDisc data files)
92.09.30 Made screen dump for laser jet a bit smaller for large
plots
Fixed symbol choice and plot choice by rock type
Added symbol choice and plot choice by locality
92.08.31 Fixed Maniar&Piccoli plots 10d & 10e to reflect
derivation from
AFM and ACF diags respectively
92.06.30 Fixed ROC --> WK1 formatting problem in New123 module
Changed 'Change Symbol' to use list of plotted samples
Fixed Eu / Eu* bug in NewDisc module
92.04.30 Finally fixed the damned mouse/menu bug!!!
Fixed keypress error (pressing arrow kicks you out)
Fixed the screen dump problem to laserjets
92.03.31 Fixed field plotting problems in NewCIPW and NewMeso
Fixed log plots in 'Granitoids' section of NewDisc
92.02.31 Added KD save on exiting NewMelt
Fixed 'Set Graph Params' in NewPlot Module
Added view option for output files
Added black background option to plots
Added option to save symbol and colour options
91.11.30 Added plot sample name option to plots
Fixed set plot type error in NPCV
Added plot 'zeros' option
Fixed stupid mistake (View Docs was screwed up)
91.10.31 Fixed hangup in NewMelt 'Same params'
Fixed key handling problems introduced in 91.06.12
Added X, Y, Z values on show each sample
Fixed an entry bug in Set Data Mask
Added third Wood plot
91.08.31 Fixed bug in data entry in DIY plots
Fixed bug in choose samples to plot module
91.07.31 Added Igpet file handling
91.06.30 Added mouse handling to most inputs (buggy)
Replaced Cox plot with Le Maitre
Added Le Maitre plots (B.12-B.15)
Added Gill plots (5.16 a-c)
Fixed stack space problem (unprintable error)
Added HP LaserJet to Table module
Fixed Table module bug introduced in 91.05.22
91.05.31 Fixed delete bug in NewFiler module
Fixed Save bug in Set Config module
Fixed Miyashiro 1974 (fig 1a) plot
Fixed Winchester & Floyd 1977 (figs 2 & 6) plots
(ppm TiO2 = TiO2 * 10000 not TiO2 * 5995)
91.04.30 Fixed the cationic plots in NewDisc (I screwed up)
Added generic plotting routines
Fixed legend in NewPrim
91.03.31 Added Kerrich plots to NewDisc
Fixed ESC key to cancel plots
Peacock 1931 plot now works properly
Fixed KD editor in NewMelt
Added new fields to .CPW and .MSO files
91.02.28 Fixed problem in Jensen discrim plot in NewDisc
91.01.01 Combined 10 EXE files into 4 main EXE files
Increased sample capacity to ~400
Coming Attractions
Windows 3.1 version - Jan 93 (a year late, but better than never)
DXF plot output - (who knows when)
HP-GL/2 plot output
NewDisc Plots
Debon & Le Fort 1983: figure 1
Plutonic Volcanic
1 Granite Rhyolite
2 Adamellite Dellenite
3 Granodiorite Rhyodacite
4 Tonalite (trodhjemite) Dacite
5 Quartz Syenite Quartz Trachyte
6 Quartz Monzonite Quartz Latite
7 Quartz Monzodiorite Quartz Latiandesite
8 Quartz Diorite Quartz Andesite
9 Syenite Trachyte
10 Monzonite Latite
11 Monzogabbro Latibasalt
12 Gabbro Basalt
Debon & Le Fort 1983: figures 2a & 2b
Peraluminous
I muscovite or muscovite > biotite
II biotite > muscovite
III biotite
Metaluminous
IV mainly hornblende and biotite
(biotite, hornblende, orthopyroxene,
clinopyroxene, primary epidote, sphene)
V high prop cpx +/- primary epidote +/- sphene
VI exceptional igneous rocks
LG Leuco Granitoids
Jensen 1976: figure 1
TR Tholeiitic Rhyolite
TD Tholeiitic Dacite
TA Tholeiitic Andesite
CR Calc-alkaline Rhyolite
CD Calc-alkaline Dacite
CA Calc-alkaline Andesite
CB Calc-alkaline Basalt
HFT High-Fe Tholeiite
HMT High-Mg Tholeiite
BK Basaltic Komatiite
PK Peridotitic Komatiite
LeMaitre 1989: figure B.14
F foidite
Pc picrobasalt
B basalt
O1 basaltic andesite
O2 andesite
O3 dacite
S1 trachybasalt
S2 basaltic trachyandesite
S3 trachyandesite
T trachyte (q < 20%)
trachydacite (q > 20%)
R rhyolite
U1 tephrite (ol < 10%)
basanite (ol > 10%)
U2 phonotephrite
U3 tephriphonolite
Ph phonolite
Meschede 1986: figure 1
P MORB, N MORB Mid-Ocean Ridge Basalts
VAB Volcanic Arc Basalts
WPA Within Plate Alkaline Basalts
WPT Within Plate Tholeiites
Middleton 1985: figure 3.3.3
1 Nephelinite
2 Phonolite
3 Alkali trachyte
4 Pantellerite
5 Comendite
6 Basanite
7 Alkali picrite
8 Alkali olivine basalt
9 Trachybasalt
10 Trachyandesite basalt
11 Trachyandesite
12 Trachyte
13 Trachydacite
14 Trachyrhyolite
15 Alkali rhyolite
16 Picrite
17 Tholeiite basalt
18 Andesite basalt
19 Andesite
20 Andesite dacite
21 Dacite
22 Rhyolite dacite
23 Rhyolite
Middleton 1985: figure 3.3.6
1 Alkali feldspar Syenite
2 Alkali feldspar Quartz Syenite
3 Alkali feldspar Granite
4 Syenite
5 Quartz Syenite
6 Granite
7 Monzonite
8 Quartz Monzonite
9 Monzodiorite
10 Quartz Monzodiorite
11 Granodiorite
12 Diorite and Gabbro
13 Quartz Diorite
14 Tonalite
Mullen 1983: figure ?
CAB Calc-Alkaline Basalts
IAT Island Arc Tholeiites (?)
MORB Mid-Ocean Ridge Basalts
OIA Ocean Island Andesites (?)
OIT Ocean Island Tholeiites (?)
Pearce 1975: figure ?
LKT Low Potassium Tholeiites
OFB Ocean Floor Basalts
Pearce & Cann 1973: figures 2, 3 & 4
CAB Calc-Alkaline Basalts
IAB Island Arc Basalts
LKT Low Potassium Tholeiites
OFB Ocean Floor Basalts
WPB Within Plate Basalts
Pearce et al 1984: figures 3 & 4
ORG Ocean Ridge Granites
syn-COLG Syn-Collision Granites
VAG Volcanic Arc Granites
WPG Within Plate Granites
Shervais 1982: figure 2
ARC ARC Tholeiites
OFB Ocean Floor Basalts
Whalen et al 1987: figures 5a & 5b
FG Fractionated Felsic Granites
OGT Orogenic Granite Types (?)
(unfractionated M-, I- and S-type granites)
Wood 1980: figure 1a
A N-type MORB
B E-type MORB and tholeiitic WPB and differentiates
C Alkaline WPB and differentiates
D Destructive PMB and differentiates
WPB within-plate basalts
PMB plate-margin basalts
MORB mid-ocean ridge basalts
NewMeso Plots
LeMaitre 1989: figure B.4
1a quartzolite
1b quartz-rich granitoids
2 alkali feldspar granite
3a syeno-granite
3b monzo-granite
4 granodiorite
5 tonalite
6* quartz alkali feldspar syenite
6 alkali feldspar syenite
7* quartz syenite
7 syenite
8* quartz monzonite
8 monzonite
9* quartz monzodiorite/quartz monzogabbro
9 monzodiorite/monzogabbro
10* quartz diorite/quartz gabbro/quartz anorthosite
10 diorite/gabbro/anorthosite
General
K.G.Cox, J.D.Bell and R.J.Pankhurst, 1979.
"The Interpretation of Igneous Rocks",
George Allen and Unwin, London.
C.J.Hughes, 1982.
"Igneous Petrology",
Elsevier, Amsterdam.
R.W.Le Maitre (ed.), 1989.
A Classification of Igneous Rocks and Glossary of Terms,
Blackwell, Oxford, 193 pp.
E.A.K.Middlemost, 1985.
"Magmas and Magmatic Rocks",
Longman Group Limited, Essex.
A.Streckeisen, 1976.
To each plutonic rock its proper name,
Earth-Science Reviews, vol.12, pp.1-33.
NewMelt
C.J.Allegre and J.F.Minister, 1978.
Quantitative models of trace element behaviour in magmatic
processes,
Earth and Planetary Science Letters, vol.38, pp.1-25.
C.J.Allegre, M.Treuil, J.F.Minister and F.Albarade, 1977.
Systematic use of trace elements in igneous processes. Part 1:
Fractional crystallization processes in volcanic suites,
Contributions to Mineralogy and Petrology, vol.60, pp.57-75.
J.G.Arth, 1976.
Behavior of trace elements during magmatic processes - a summary
of theoretical models and their applications,
Journal of Research USGS, vol.4, No.1, pp.41-47.
W.K.Conrad, 1987.
A FORTRAN program for simulating major- and trace-element
variations during rayleigh fractionation with melt replenishment
or assimilation,
Computers and Geosciences, vol.13, No.1, pp.1-12.
D.J.DePaolo, 1981.
Trace element and isotopic effects of combined wallrock
assimilation and fractional crystallization,
Earth and Planetary Science Letters, vol.53, pp.189-202.
R.Powell, 1984.
Inversion of the assimilation and fractional crystallization
(AFC) equations; characterization of contaminants from isotope
and trace element relationships in volcanic suites,
Journal of Geological Society London, vol.141, pp.447-452.
NewDisc
R.A.Batchelor and P.Bowden, 1985.
Petrogenetic interpretation of granitoid rock series using
multicationic parameters,
Chemical Geology, vol.48, pp.43-55.
F.Debon and P.Le Fort, 1983.
A chemical-mineralogical classification of common plutonic rocks
and associations,
Transactions of the Royal Society of Edinburgh Earth Sciences,
vol.73, pp.135-149.
J.B.Gill, 1981.
"Orogenic Andesites and Plate Tectonics",
Springer-Verlag, Berlin, 389 pp.
T.N.Irvine and W.R.A.Barager, 1971.
A guide to the chemical classification of the common volcanic
rocks,
Canadian Journal of Earth Sciences, vol.8, pp.523-548.
L.S.Jensen, 1976.
A New Cation Plot for Classifying Subalkalic Volcanic Rocks,
Ontario Division of Mines, MP 66, 22p.
R.Kerrich, 1989.
Geochemical evidence on the sources of fluids and solutes for
shear zone hosted mesothermal gold deposits,
in: J.T.Bursnall (ed.), "Mineralization and Shear Zones", GAC
Short Course Notes, vol.6, pp.129-198.
P.D.Maniar and P.M.Piccoli, 1989.
Tectonic discrimination of granitoids,
Geological Society of America Bulletin, vol.101, pp.635-643.
M.Meschede, 1986.
A method of discriminating between different types of mid-ocean
ridge basalts and continental tholeiites with the Nb-Zr-Y
diagram,
Chemical Geology, vol.56, pp.207-218.
A.Miyashiro, 1974.
Volcanic rock series in island arcs and active continental
margins,
American Journal of Science, vol.274, pp.321-355.
E.D.Mullen, 1983.
MnO/TiO2/P2O5: a minor element discriminant for basaltic rocks
of oceanic environments and its implications for petrogenesis,
Earth and Planetary Science Letters, vol.62, pp.53-62.
M.A.Peacock, 1931.
Classification of igneous rock series,
Journal of Geology, vol.39, pp.54-67.
J.A.Pearce, 1975.
Basalt geochemistry used to investigate past tectonic
environments on Cyprus,
Tectonophysics, vol.25, pp.41-67.
J.A.Pearce, 1983.
Role of the sub-continental lithosphere in magma genesis at
active continental margins,
in: C.J.Hawkesworth and M.J.Norry (eds.), "Continental Basalts
and Mantle Xenoliths," Shiva Publishing Limited, pp.230-249.
J.A.Pearce and J.R.Cann, 1973.
Tectonic setting of basic volcanic rocks determined using trace
element analyses,
Earth and Planetary Science Letters, vol.19, pp.290-300.
J.A.Pearce and M.J.Norry, 1979.
Petrogenetic Implications of Ti, Zr, Y, and Nb Variations in
Volcanic Rocks,
Contributions to Mineralogy and Petrology, vol.69, pp.33-47.
J.A.Pearce, N.B.W.Harris and A.G.Tindle, 1984.
Trace element discrimination diagrams for the tectonic
interpretation of granitic rocks,
Journal of Petrology, vol.25, pp.956-983.
J.A.Pearce, T.Alabaster, A.W.Shelton and M.P.Searle, 1981.
The Oman ophiolite as a Cretaceous arc-basin complex: evidence
and implications.
Phil.Trans.R.Soc.Lon., A300, pp. 299-317.
T.H.Pearce, B.E.Gorman and T.C.Birkett, 1977.
The relationship between major element chemistry and tectonic
environment of basic and intermediate volcanic rocks,
Earth and Planetary Science Letters, vol.36, pp.121-132.
J.W.Shervais, 1982.
Ti-V plots and the petrogenesis of modern and ophiolitic lavas,
Earth and Planetary Science Letters, vol.59, pp.101-118.
J.B.Whalen, K.L.Currie and B.W.Chappell, 1987.
A-type granites: geochemical characteristics, discrimination and
petrogenesis,
Contributions to Mineralogy and Petrology, vol.95, pp.407-419.
J.A.Winchester and P.A.Floyd, 1977.
Geochemical discrimination of different magma series and their
differentiation products using immobile elements,
Chemical Geology, vol.20, pp.325-343.
D.A.Wood, 1980.
The application of a Th-Hf-Ta diagram to problems of
tectonomagmatic classification and to establishing the nature of
crustal contamination of basaltic lavas of the British Tertiary
volcanic province,
Earth and Planetary Science Letters, vol.50, pp.11-30.
NewMix
C.H.Langmuir, R.D.Vocke, Jr., G.N.Hanson and S.R.Hart, 1978.
A general mixing equation with applications to Icelandic basalts,
Earth and Planetary Science Letters, vol.37, pp.380-392.
NewPrim
E.Anders and M.Ebihara, 1982.
Solar-System abundances of the elements,
Geochimica et Cosmochimica Acta, vol 46, pp.2363-2380.
H.J.M.Brown, 1979.
"Environmental Chemistry of the Elements,"
Academic Press, London, 333 pp.
B.Mason and C.B.Moore, 1982.
"Principles of Geochemistry,"
Wiley, New York, 344 pp.
S-S.Sun, 1982.
Chemical composition and origin of the Earth's primitive mantle,
Geochimica et Cosmochimica Acta, vol.46, pp.179-192.
S.R.Taylor and S.M.McLennan, 1985.
"The Continental Crust: Its Composition and Evolution,"
Blackwell, Oxford, 312 pp.
Normative
M.H.F.Kosinowski, 1982.
MSONRM, a FORTRAN program for the improved version of mesonorm
calculation,
Computers & Geosciences, vol.8, no.1, pp.111-20.
R.W.LeMaitre, 1976.
Some Problems of the Projection of Chemical Data into
Mineralogical Classifications,
Contributions to Mineralogy and Petrology, vol.56, pp.181-189.
E.A.K.Middlemost, 1989.
Iron oxidation ratios, norms and the classification of volcanic
rocks,
Chemical Geology, vol.77, pp.19-26.
This is the NEWPET data file format (.ROC):
vNumber of Samples
N
"Sample1","Loc11","Loc21",S,C,"Type1",A,(sample data for #1)...
.
.
.
"SampleN","Loc1N","Loc2N",S,C,"TypeN",A,(sample data for #N)...
Symbol^ ^Colour ^Anhyd Value
Sample Header
Size Aliases for .WK1 transfer
Samplename (20 char) Sample
Locality 1 (20 char) Northing, Area, Location, Location 1
Locality 2 (20 char) Easting, Index, Location 2
Plot Symbol (integer)(1-15) Symbol
Plot Colour (integer)(1-15) Colour, Plot Color, Color
Rock Type (20 char) RockType, Description, Desc
The aliases shown above are the ones that are accepted when
transferring from a .WK1 to .ROC file. The following pages show
the order of the elements and the default number of decimal
places used for each. The names shown are the only ones that
will be accepted when transferring data. You don't have to
worry about super/subscripts and you don't have to have the
elements in the exact order as shown. Also, the element numbers
(1 - 108) are not used. They are for my use only. Any column
with a heading that is not recognized will be ignored. The 'i'
and 'm' in the Radiogenics sections are there so we can tell the
difference between initial and measured radiogenics
respectively. You can always edit out the 'i' or 'm' later.
.
Major Oxides - wt %
1 - SiO2 2
2 - TiO2 2
3 - Al2O3 2
4 - Fe2O3 2
5 - FeO 2
6 - MnO 2
7 - MgO 2
8 - CaO 2
9 - Na2O 2
10 - K2O 2
11 - P2O5 2
12 - H2O 2
13 - CO2 2
14 - LOI 2
Transition Metals - ppm
15 - Cr 0
16 - Ni 0
17 - Co 0
18 - Sc 0
19 - V 0
20 - Cu 0
21 - Pb 0
22 - Zn 0
Granitoids - ppm
23 - Bi 2
24 - Cd 2
25 - In 2
26 - Sn 2
27 - W 2
28 - Mo 2
Miscellaneous - ppm
29 - S 2
30 - As 2
31 - Se 2
32 - Sb 2
33 - Te 2
Precious Metals - ppm
34 - Ru 1
35 - Rh 1
36 - Pd 1
37 - Ag 1
38 - Re 1
39 - Os 1
40 - Ir 1
41 - Pt 1
42 - Au 1
43 - Hg 1
Low Fields - ppm
44 - K 1
45 - Rb 1
46 - Cs 2
47 - Ba 0
48 - Sr 1
49 - Tl 2
50 - Ga 1
51 - Li 2
High Fields - ppm
52 - Ta 2
53 - Nb 1
54 - Hf 2
55 - Zr 1
56 - Ti 0
57 - Y 1
58 - Th 2
59 - U 2
Rare Earths - ppm
60 - La 2
61 - Ce 2
62 - Pr 2
63 - Nd 2
64 - Sm 2
65 - Eu 2
66 - Gd 2
67 - Tb 2
68 - Dy 2
69 - Ho 2
70 - Er 2
71 - Tm 2
72 - Yb 2
73 - Lu 2
Halogens - ppm
74 - F 2
75 - Cl 2
76 - Br 2
77 - I 2
78 - B 2
79 - Be 2
80 - C 2
81 - N 2
Stable Isotopes - ppm
82 - D 4
83 - 13C 4
84 - 18O 2
85 - 34S 4
Initial Radiogenics
86 - i87Sr/86Sr 6
87 - i143Nd/144Nd 6
88 - eNd (epsilon Nd) 2
89 - i206Pb/204Pb 6
90 - i207Pb/204Pb 6
91 - i208Pb/204Pb 6
92 - i176Hf/177Hf 6
93 - eHf (epsilon Hf) 2
94 - i187Os/186Os 6
Measured R/S Ratios
95 - m87Sr/86Sr 6
96 - m87Rb/86Sr 6
97 - m143Nd/144Nd 6
98 - m147Sm/144Nd 6
99 - m206Pb/204Pb 6
100 - m238U/204Pb 6
101 - m207Pb/204Pb 6
102 - m235U/204Pb 6
103 - m208Pb/204Pb 6
104 - m232Th/204Pb 6
105 - m176Hf/177Hf 6
106 - m176Lu/177Hf 6
107 - m187Os/186Os 6
108 - m187Re/186Os 6